package com.example.hospital.service;

import com.example.hospital.dto.DoctorQuery;
import com.example.hospital.dto.LoginForm;
import com.example.hospital.dto.Result;
import com.example.hospital.entity.Doctor;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
* @author Oreki
* @description 针对表【doctor】的数据库操作Service
* @createDate 2024-12-27 16:53:20
*/
public interface DoctorService extends IService<Doctor> {

    Result<Map<String,String>> login(LoginForm loginForm);

    Doctor getDoctorByPhoneNumber(String phoneNumber);

    List<Doctor> getDoctorByDepartment(String specialty);

    List<Doctor> listDoctors(DoctorQuery doctorQuery);
}
